#pragma once

#include <SFML/Graphics.hpp>
#include <vector>
#include <ctime>
#include <iostream>
#include <memory>
#include "character.h"
#include "background.h"
#include "background.h"


class Ingame {
private:
    bool gameOver;
    sf::RenderWindow* window;
    Character* character;
    Background* background;

public:
    Ingame(sf::RenderWindow* win, Character* chara, Background* bg) ;

    sf::Font font;

    void checkGameOver();

    void resetPosition();

    void run();
};